/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.member.repository;

import java.util.Date;
import java.util.List;

import iaas.repository.BaseRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.wealth.member.entity.Returncash;

/**
 * @author ruanzh
 * @version 1.0
 * @since 1.0
 */
 
@Repository
public interface ReturncashDao extends BaseRepository<Returncash, Long> ,JpaSpecificationExecutor<Returncash>{
//   /**
//    * 根据添加查询所对的实体
//    * @param status
//    * @param startTime
//    * @param endTime
//    * @return
//    */
//	@Query(value="select * from member_returncash a where a.`status`=? and a.crate_time BETWEEN ? AND ?",nativeQuery=true)
//	public List<Returncash> findByStatusAndCrateTimeBetween(Integer status,Date startTime,Date endTime);
}
